home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19980424-19980901
/
000318_news@newsmaster….columbia.edu _Thu Jul 30 14:28:49 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
4KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA26053
for <kermit.misc@watsun.cc.columbia.edu>; Thu, 30 Jul 1998 14:28:48 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id OAA19784
for kermit.misc@watsun; Thu, 30 Jul 1998 14:28:47 -0400 (EDT)
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.os.linux.advocacy,comp.os.linux.development.apps,comp.os.linux.help,comp.os.linux.networking,comp.protocols.kermit.misc
Subject: Re: Scripting Telnet applications
Date: 30 Jul 1998 18:28:43 GMT
Organization: Columbia University
Lines: 55
Message-ID: <6pqe0r$msk$1@apakabar.cc.columbia.edu>
References: <35BF2FC2.AB4E3B10@tconl.com>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.os.linux.advocacy:214363 comp.os.linux.development.apps:60217 comp.os.linux.networking:135840 comp.protocols.kermit.misc:9028
In article <35BF2FC2.AB4E3B10@tconl.com>, sosinski <sosinski@tconl.com> wrote:
: Recently, I have installed Slackware Linux on a PC at my office which is
: a large telemarketing firm. One of the reasons that we are looking into
: Linux is because of its Unix like capabilities without licensing all
: applications that you would run, not to mention the great features of
: linux such as the 3270 emulation for IBM sessions with mainframes.
: Anyway, I am looking for some kind of scripting for telnet instead of
: the simple telnet <site name or ip here>.
:
: I have some experience with scripting windows 95/NT applications for
: telnet and have a bit of experience with TCL and C++ but I am not sure
: that these languages will be able to provide me with the emulation and
: the type of scripting that I wish to achieve. The goal here is to get
: Linux to open up at 20 or more telnet sessions with remote servers, and
: pull information off the server (mostly numbers). The servers are
: running SCO UNIX with SCO Ansi emulation, and unfortunately we are
: unable to add applications to the SCO servers thus having the server
: attempt the "script" command and ftp the results to the Linux box would
: not be a viable solution. I am fairly certain that telnet can be
: scripted, I am just unsure of how to go about doing this.
:
C-Kermit 6.0:
http://www.columbia.edu/kermit/ck60.html
is a telnet client with a built-in scripting language AND file transfer.
With it, you can automate your connections and you can save the session, or
you can have the script perform the necessary interactions to find and save
only the appropriate parts, or you can script the interactions on the far
side in a way that creates a file, and then transfer the file if the other
computer also has a Kermit program.
Since it is also a serial communications client, you can use virtually the
same scripts over dialups, in case you can't make a telnet connection.
Since it is a highly portable program, you can also run it on any other
variety of UNIX, or VMS, or Windows, OS/2, DOS, etc, and therefore you can
use the same scripts on all those platforms with little or no alteration.
C-Kermit by itself is superior to (say) a combination of regular telnet
and expect, because it's integrated. It uses its own control structures
(FOR, IF-ELSE, WHILE, SWITCH, GOTO, etc), variables, functions, and timers
intrinsically on the actual data that is going back and forth in real time.
Also, C-Kermit is supported -- there's a newsgroup and tech support line
which actually responds to your questions rather than ignoring them or
sending you a 30 page form to fill out.
It's a good alternative ftp also, by virtue of being scriptable, and also
because it can go through firewalls, includes recovery and update features,
etc etc.
Since "how do I script telnet?" is such a Frequently Asked Question these
days, I hope this answer can start finding its way into the appropriate FAQs.
- Frank